package com.resource.project.mapper;

import com.resource.project.entity.system.MenuRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author resource
 * @since 2020-03-14
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    int addMenu(@Param("rid") Long rid, @Param("mids") Long[] mids);

    void insertMenuByRole(String[] mids);

}
